﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>机构用户中心</title>
    <link href="../css/base.css" rel="stylesheet" />
    <link href="../css/InstitutPublic.css" rel="stylesheet" />
    <!--字体图标-->
    <link href="../font/iconfont.css" rel="stylesheet" />
    <link href="../css/bootstarp.units.css" rel="stylesheet" />
    <link href="../css/InstitutMessage.css" rel="stylesheet" />
    <link href="../css/nemberManage.css" rel="stylesheet" />
</head>
<body>

        <div class="rightCont">
            <div class="right_head">
                <p>
                    <a href="javascript://"><i class="icon iconfont">&#xe604;</i></a>
                    <b></b>
                    <a href="javascript:OrgloginOut()">注销</a>
                </p>
                机构用户中心
            </div>
            <div id="cnt">
                <div class="jg_title">
                    <a href="javascript://" onclick="addarena(0)" class="click-link">发送消息</a>
                    <h1>用户管理</h1>
                    <p>对关注本机构的用户发送消息</p>
                </div>
                <div class="th">
                    <span style="width:50%"><input type="checkbox" class="all" />头像、用户名</span>
                    <span style="width:35%">邮箱</span>
                    <span style="width:11%; text-align: right">操作</span>
                </div>
                <div class="memberList">
                    <ul><!--userManage（）填充-->

                    </ul>
                    <!-----分页----->
                    <div class="m-pager">
                        <div id="m-page" class="m-page m-page-sr m-page-sm">

                        </div>
                    </div>
                </div>
            </div>
        </div>

    <!-- 发送消息 -->
    <div id="addArena" style="display:none;">
        <!-- 发送消息 addarena()填充-->
    </div>
    <script src="../js/jquery-1.9.1.min.js"></script>
    <script src="../plugins/layer/layer.js"></script>
    <script src="../js/basicjs.js"></script>
    <script src="../js/organization/usermanage.js"></script>
    <script src="../js/animate.js"></script>
    <script>
//        var addarena = function (e) {
//
//            layer.open({
//                type: 2,
//                shadeClose: true,
//                shade: 0.8,
//                title: false,
//                area: ['680px', '520px'],
//                content: 'sendmessage.html',
//                end:function(){
//                    window.location.reload();
//                }
//            })
//        };
        var keep = $("#keep");
        var save = $("#save");
        var edit = $("#edit");
        var onkeep = function () {
            keep.hide();
            save.show();
            edit.show();
        };
        var onsave = function (s) {
            var id = $(s).attr("data-ids");//获取指定场馆的id值
            //提交保存数据的逻辑
            console.log(id);
            keep.show();
            save.hide();
            edit.hide();
            off();
        }
        $(function () {
            //侧导航高度自适应
            onscrolls2();

            //活动管理处选项卡切换
            $(".bm_swtich_all").each(function () {
                var ths = $(this);
                var tli = ths.find("li");
                var tle = ths.find(".bm_swtich_line");
                var tli_width = $(".bm_swtich li:first").width();
                tle.width(tli_width);
                tli.click(function () {
                    var tw = $(this).width();
                    tli.removeClass("e");
                    $(this).addClass("e");
                    tle.stop(true, true).animate({
                        width: tw,
                        left: $(this).position().left
                    })
                })
            })


        })
    </script>
</body>
</html>
